import request from '@/utils/request'
export function executeFormList(data) { //合同执行-列表
    return request({
        url: '/project-management/api/project/management/contract-execute/page',
        method: 'POST',
        data,
    })
}
export function executeFormAdd(data) { //合同执行-添加
    return request({
        url: '/project-management/api/project/management/contract-execute/add',
        method: 'POST',
        data,
    })
}
export function executeFormDetails(id) { //合同执行-详情
    return request({
        url: '/project-management/api/project/management/contract-execute/'+id,
        method: 'GET',
    })
}
//原 del
export function executeFormDelete(id) { //合同执行-删除
    return request({
        url: '/project-management/api/project/management/contract-execute/del/'+id,
        method: 'get',
    })
}

//原 put
export function executeFormEdit(data) { //合同执行-编辑
    return request({
        url: '/project-management/api/project/management/contract-execute/put/update',
        method: 'post',
        data,
    })
}
export function executeFormExport(data) { //合同执行-导出
    return request({
        url: '/project-management/api/project/management/contract-execute/export',
        responseType: 'arraybuffer',
        method: 'POST',
        data,
    })
}
